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 "Content-Type: application/json" \
 -d '{"channelId":42,"consumerKey":"string","consumerSecret":"string","createdAt":"2023-05-04T09:42:00+00:00","customerNote":false,"customerNoteContent":"string","enabled":true,"id":42,"importDraftProducts":true,"importingProducts":true,"lastFetchedProductsAt":"2023-05-04T09:42:00+00:00","lastFetchedSalesAt":"2023-05-04T09:42:00+00:00","legacy":false,"name":"string","partialShipmentStatus":"completed","shop":"string","suffix":"string","updatedAt":"2023-05-04T09:42:00+00:00","vendorField":"string","vendorMapping":"attribute"}'
Request example
{
  "channelId": 42,
  "consumerKey": "string",
  "consumerSecret": "string",
  "createdAt": "2023-05-04T09:42:00+00:00",
  "customerNote": false,
  "customerNoteContent": "string",
  "enabled": true,
  "id": 42,
  "importDraftProducts": true,
  "importingProducts": true,
  "lastFetchedProductsAt": "2023-05-04T09:42:00+00:00",
  "lastFetchedSalesAt": "2023-05-04T09:42:00+00:00",
  "legacy": false,
  "name": "string",
  "partialShipmentStatus": "completed",
  "shop": "string",
  "suffix": "string",
  "updatedAt": "2023-05-04T09:42:00+00:00",
  "vendorField": "string",
  "vendorMapping": "attribute"
}