Body
Required
-
Api password
-
Api username
-
Archive reason
Values are
subscription
orother
. Default value isother
. -
Channel
-
Created at
-
Enabled
Default value is
true
. -
Id
-
Last fetched sales at
-
Name
-
Paid statuses
-
Resource path
-
Send shipment notifications
Default value is
true
. -
Shop
-
Source location
-
Updated at
-
Vendor field
PUT
/magento-stores/{id}.json
curl \
--request PUT 'http://api.example.com/v1/magento-stores/{id}.json' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"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"}'
Request examples
{
"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"
}