POST /woo-commerce-stores.json

POST /woo-commerce-stores.json
application/json

Body Required

Responses

POST /woo-commerce-stores.json
curl \
 -X POST http://api.example.com/v1/woo-commerce-stores.json \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"archiveReason":"other","channelId":42,"consumerKey":"string","consumerSecret":"string","customerNote":false,"customerNoteContent":"string","enabled":true,"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","vendorField":"string","vendorMapping":"attribute"}'
Request example
{
  "archiveReason": "other",
  "channelId": 42,
  "consumerKey": "string",
  "consumerSecret": "string",
  "customerNote": false,
  "customerNoteContent": "string",
  "enabled": true,
  "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",
  "vendorField": "string",
  "vendorMapping": "attribute"
}
Response examples (200)
{
  "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"
}