POST /magento-stores.json

POST /magento-stores.json
application/json

Body Required

Responses

POST /magento-stores.json
curl \
 -X POST http://api.example.com/v1/magento-stores.json \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"apiPassword":"string","apiUsername":"string","archiveReason":"other","channelId":42,"enabled":true,"lastFetchedSalesAt":"2024-05-04T09:42:00+00:00","name":"string","paidStatuses":["string"],"resourcePath":"string","sendShipmentNotifications":true,"shop":"string","sourceLocation":"string","vendorField":"string"}'
Request example
{
  "apiPassword": "string",
  "apiUsername": "string",
  "archiveReason": "other",
  "channelId": 42,
  "enabled": true,
  "lastFetchedSalesAt": "2024-05-04T09:42:00+00:00",
  "name": "string",
  "paidStatuses": [
    "string"
  ],
  "resourcePath": "string",
  "sendShipmentNotifications": true,
  "shop": "string",
  "sourceLocation": "string",
  "vendorField": "string"
}
Response examples (200)
{
  "apiPassword": "string",
  "apiUsername": "string",
  "archiveReason": "other",
  "channelId": 42,
  "createdAt": "2024-05-04T09:42:00+00:00",
  "enabled": true,
  "id": 42,
  "lastFetchedSalesAt": "2024-05-04T09:42:00+00:00",
  "name": "string",
  "paidStatuses": [
    "string"
  ],
  "resourcePath": "string",
  "sendShipmentNotifications": true,
  "shop": "string",
  "sourceLocation": "string",
  "updatedAt": "2024-05-04T09:42:00+00:00",
  "vendorField": "string"
}