POST /magento-stores.json
POST
/magento-stores.json
Body Required
-
apiPassword string Required
Api password
-
apiUsername string Required
Api username
-
channelId integer(int32) Required
Channel
-
enabled boolean | null Required
Enabled
Default value is
true
. -
lastFetchedSalesAt string(date-time) | null
Last fetched sales at
-
name string | null
Name
-
paidStatuses array[string] | null
Paid statuses
-
sendShipmentNotifications boolean | null Required
Send shipment notifications
Default value is
true
. -
shop string Required
Shop
-
vendorField string | null
Vendor field
POST /magento-stores.json
curl \
-X POST http://api.example.com/v1/magento-stores.json \
-H "Content-Type: application/json" \
-d '{"apiPassword":"string","apiUsername":"string","channelId":42,"enabled":true,"lastFetchedSalesAt":"2023-05-04T09:42:00+00:00","name":"string","paidStatuses":["string"],"sendShipmentNotifications":true,"shop":"string","vendorField":"string"}'
Request example
{
"apiPassword": "string",
"apiUsername": "string",
"channelId": 42,
"enabled": true,
"lastFetchedSalesAt": "2023-05-04T09:42:00+00:00",
"name": "string",
"paidStatuses": [
"string"
],
"sendShipmentNotifications": true,
"shop": "string",
"vendorField": "string"
}
Response examples (200)
{
"apiPassword": "string",
"apiUsername": "string",
"channelId": 42,
"createdAt": "2023-05-04T09:42:00+00:00",
"enabled": true,
"id": 42,
"lastFetchedSalesAt": "2023-05-04T09:42:00+00:00",
"name": "string",
"paidStatuses": [
"string"
],
"sendShipmentNotifications": true,
"shop": "string",
"updatedAt": "2023-05-04T09:42:00+00:00",
"vendorField": "string"
}