POST
/magento-stores.json
curl \
--request POST 'http://api.example.com/v1/magento-stores.json' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"apiPassword":"string","apiUsername":"string","archiveReason":"other","channelId":42,"enabled":true,"lastFetchedSalesAt":"2025-05-04T09:42:00Z","name":"string","paidStatuses":["string"],"resourcePath":"string","sendShipmentNotifications":true,"shop":"string","sourceLocation":"string","vendorField":"string"}'
Request examples
{
"apiPassword": "string",
"apiUsername": "string",
"archiveReason": "other",
"channelId": 42,
"enabled": true,
"lastFetchedSalesAt": "2025-05-04T09:42:00Z",
"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": "2025-05-04T09:42:00Z",
"enabled": true,
"id": 42,
"lastFetchedSalesAt": "2025-05-04T09:42:00Z",
"name": "string",
"paidStatuses": [
"string"
],
"resourcePath": "string",
"sendShipmentNotifications": true,
"shop": "string",
"sourceLocation": "string",
"updatedAt": "2025-05-04T09:42:00Z",
"vendorField": "string"
}