{
	"info": {
		"_postman_id": "3fdcbf86-91b1-4f2b-ad4c-46151c7e8dec",
		"name": "デベロッパーズチュートリアル",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
		"_exporter_id": "34004357"
	},
	"item": [
		{
			"name": "アクセストークンの取得",
			"request": {
				"auth": {
					"type": "basic",
					"basic": [
						{
							"key": "password",
							"value": "",
							"type": "string"
						},
						{
							"key": "username",
							"value": "",
							"type": "string"
						}
					]
				},
				"method": "POST",
				"header": [],
				"body": {
					"mode": "urlencoded",
					"urlencoded": [
						{
							"key": "grant_type",
							"value": "client_credentials",
							"type": "text"
						},
						{
							"key": "scope",
							"value": "pos.stores:read pos.stores:write",
							"type": "text"
						}
					]
				},
				"url": {
					"raw": "https://id.smaregi.dev/app/:contract_id/token",
					"protocol": "https",
					"host": [
						"id",
						"smaregi",
						"dev"
					],
					"path": [
						"app",
						":contract_id",
						"token"
					],
					"variable": [
						{
							"key": "contract_id",
							"value": ""
						}
					]
				}
			},
			"response": []
		},
		{
			"name": "店舗一覧取得",
			"request": {
				"auth": {
					"type": "bearer",
					"bearer": [
						{
							"key": "token",
							"value": "",
							"type": "string"
						}
					]
				},
				"method": "GET",
				"header": [],
				"url": {
					"raw": "https://api.smaregi.dev/:contract_id/pos/stores/",
					"protocol": "https",
					"host": [
						"api",
						"smaregi",
						"dev"
					],
					"path": [
						":contract_id",
						"pos",
						"stores",
						""
					],
					"variable": [
						{
							"key": "contract_id",
							"value": ""
						}
					]
				}
			},
			"response": []
		},
		{
			"name": "店舗更新",
			"request": {
				"auth": {
					"type": "bearer",
					"bearer": [
						{
							"key": "token",
							"value": "",
							"type": "string"
						}
					]
				},
				"method": "PATCH",
				"header": [],
				"body": {
					"mode": "raw",
					"raw": "{\n    \"storeName\": \"テスト店舗\"\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "https://api.smaregi.dev/:contract_id/pos/stores/:storeId",
					"protocol": "https",
					"host": [
						"api",
						"smaregi",
						"dev"
					],
					"path": [
						":contract_id",
						"pos",
						"stores",
						":storeId"
					],
					"variable": [
						{
							"key": "contract_id",
							"value": ""
						},
						{
							"key": "storeId",
							"value": "1"
						}
					]
				}
			},
			"response": []
		}
	]
}