PUT /magento-stores/{id}.json

PUT /magento-stores/{id}.json

Path parameters

  • id integer(int64) Required

    Numeric ID of the instance

    Minimum value is 1.

application/json

Body Required

  • apiPassword string | null

    Api password

  • apiUsername string Required

    Api username

  • archiveReason string | null Required

    Archive reason

    Values are subscription or other. Default value is other.

  • channelId integer(int32) Required

    Channel

  • createdAt string(date-time)

    Created at

  • enabled boolean | null Required

    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

  • sendShipmentNotifications boolean | null Required

    Send shipment notifications

    Default value is true.

  • shop string Required

    Shop

  • sourceLocation string | null

    Source location

  • updatedAt string(date-time)

    Updated at

  • vendorField string | null

    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"
}