PUT /woo-commerce-stores/{id}.json

PUT /woo-commerce-stores/{id}.json

Path parameters

  • id integer(int64) Required

    Numeric ID of the instance

    Minimum value is 1.

application/json

Body Required

PUT /woo-commerce-stores/{id}.json
curl \
 -X PUT http://api.example.com/v1/woo-commerce-stores/{id}.json \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"archiveReason":"other","channelId":42,"consumerKey":"string","consumerSecret":"string","createdAt":"2024-05-04T09:42:00+00:00","customerNote":false,"customerNoteContent":"string","enabled":true,"id":42,"importDraftProducts":true,"importingProducts":true,"lastFetchedProductsAt":"2024-05-04T09:42:00+00:00","lastFetchedSalesAt":"2024-05-04T09:42:00+00:00","legacy":false,"name":"string","partialShipmentStatus":"completed","shop":"string","suffix":"string","updatedAt":"2024-05-04T09:42:00+00:00","vendorField":"string","vendorMapping":"attribute"}'
Request example
{
  "archiveReason": "other",
  "channelId": 42,
  "consumerKey": "string",
  "consumerSecret": "string",
  "createdAt": "2024-05-04T09:42:00+00:00",
  "customerNote": false,
  "customerNoteContent": "string",
  "enabled": true,
  "id": 42,
  "importDraftProducts": true,
  "importingProducts": true,
  "lastFetchedProductsAt": "2024-05-04T09:42:00+00:00",
  "lastFetchedSalesAt": "2024-05-04T09:42:00+00:00",
  "legacy": false,
  "name": "string",
  "partialShipmentStatus": "completed",
  "shop": "string",
  "suffix": "string",
  "updatedAt": "2024-05-04T09:42:00+00:00",
  "vendorField": "string",
  "vendorMapping": "attribute"
}