PUT /magento-stores/{id}.json
Path parameters
-
Numeric ID of the instance
Minimum value is
1
.
Body Required
-
apiPassword string | null
Api password
-
Api username
-
Archive reason
Values are
subscription
orother
. Default value isother
. -
Channel
-
createdAt string(date-time)
Created at
-
Enabled
Default value is
true
. -
id integer(int32)
Id
-
lastFetchedSalesAt string(date-time) | null
Last fetched sales at
-
name string | null
Name
-
paidStatuses array[string] | null
Paid statuses
-
resourcePath string | null
Resource path
-
Send shipment notifications
Default value is
true
. -
Shop
-
sourceLocation string | null
Source location
-
updatedAt string(date-time)
Updated at
-
vendorField string | null
Vendor field
PUT /magento-stores/{id}.json
curl \
-X PUT http://api.example.com/v1/magento-stores/{id}.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"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"}'
Request example
{
"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"
}