BigCommerce · Example Payload

Bigcommerce Createproductimage Example

E-CommerceRetailCatalogOrdersCheckoutPaymentsSaaS

Bigcommerce Createproductimage Example is an example object payload from BigCommerce, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathsummaryrequestExamplesresponseExamples

Example Payload

Raw ↑
{
  "operationId": "createProductImage",
  "method": "POST",
  "path": "/catalog/products/{product_id}/images",
  "summary": "BigCommerce Create a Product Image",
  "requestExamples": [],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "data": {
          "id": 485,
          "product_id": 158,
          "is_thumbnail": false,
          "sort_order": 1,
          "description": "",
          "image_file": "o/381/product-image__98178.png",
          "url_zoom": "https://cdn8.bigcommerce.com/s-id30h7ohwf/products/158/images/485/product-image__98178.1536854227.1280.1280.png?c=2",
          "url_standard": "https://cdn8.bigcommerce.com/s-id30h7ohwf/products/158/images/485/product-image__98178.1536854227.560.850.png?c=2",
          "url_thumbnail": "https://cdn8.bigcommerce.com/s-id30h7ohwf/products/158/images/485/product-image__98178.1536854227.330.500.png?c=2",
          "url_tiny": "https://cdn8.bigcommerce.com/s-id30h7ohwf/products/158/images/485/product-image__98178.1536854227.66.100.png?c=2",
          "date_modified": "2018-09-13T15:57:07+00:00"
        },
        "meta": {}
      }
    },
    {
      "status": "422",
      "contentType": "application/json",
      "example": {
        "status": 422,
        "title": "image_url must be present if uploading by url",
        "type": "/api-docs/getting-started/api-status-codes"
      }
    }
  ]
}