{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://zieapi.vercel.app"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/ecommerce:brandlovers/get-order-order-id":{"get":{"operationId":"ecommerce_brandlovers_get_order_order_id","summary":"Returns all details of a order","description":"GET /order/{orderId}","tags":["ecommerce"],"parameters":[{"name":"orderId","in":"query","required":true,"description":"Unique Id of this order.","schema":{"type":"string","description":"Unique Id of this order."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/ecommerce:brandlovers/post-order-order-id-shipment-cancel":{"post":{"operationId":"ecommerce_brandlovers_post_order_order_id_shipment_cancel","summary":"Confirm shipment canceletion (when requested by the customer) or failure to deliver","description":"POST /order/{orderId}/shipment/cancel","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["orderId","body"],"properties":{"orderId":{"type":"string","description":"Unique Order Id"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:brandlovers/post-order-order-id-shipment-delivered":{"post":{"operationId":"ecommerce_brandlovers_post_order_order_id_shipment_delivered","summary":"Confirms that a shipment was delivered","description":"POST /order/{orderId}/shipment/delivered","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["orderId","body"],"properties":{"orderId":{"type":"string","description":"Unique Order Id"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:brandlovers/post-order-order-id-shipment-exchange":{"post":{"operationId":"ecommerce_brandlovers_post_order_order_id_shipment_exchange","summary":"Confirm item exchange","description":"POST /order/{orderId}/shipment/exchange","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["orderId","body"],"properties":{"orderId":{"type":"string","description":"Unique Order Id"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:brandlovers/post-order-order-id-shipment-return":{"post":{"operationId":"ecommerce_brandlovers_post_order_order_id_shipment_return","summary":"Confirm order item return and refund","description":"POST /order/{orderId}/shipment/return","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["orderId","body"],"properties":{"orderId":{"type":"string","description":"Order unique Id"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:brandlovers/post-order-order-id-shipment-sent":{"post":{"operationId":"ecommerce_brandlovers_post_order_order_id_shipment_sent","summary":"Update new order to include shipment information","description":"POST /order/{orderId}/shipment/sent","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["orderId","body"],"properties":{"orderId":{"type":"string","description":"Unique Order Id"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:brandlovers/get-orders":{"get":{"operationId":"ecommerce_brandlovers_get_orders","summary":"Returns orders details","description":"GET /orders","tags":["ecommerce"],"parameters":[{"name":"offset","in":"query","required":false,"description":"Number or items to skip when executing query. List starts at zero. If omitted will default to zero. Use this conjuction with `limit` to…","schema":{"type":"integer","description":"Number or items to skip when executing query. List starts at zero. If omitted will default to zero. Use this conjuction with `limit` to…"}},{"name":"limit","in":"query","required":false,"description":"Number or items to return when executing query. Defaults to 10. Use this conjuction with `offset` to paginate across the results.","schema":{"type":"integer","description":"Number or items to return when executing query. Defaults to 10. Use this conjuction with `offset` to paginate across the results."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/ecommerce:brandlovers/get-orders-shipments-delivered":{"get":{"operationId":"ecommerce_brandlovers_get_orders_shipments_delivered","summary":"Returns list of shipments","description":"GET /orders/shipments/delivered","tags":["ecommerce"],"parameters":[{"name":"status","in":"query","required":false,"description":"Query by shippment status.","schema":{"type":"string","description":"Query by shippment status."}},{"name":"offset","in":"query","required":false,"description":"Number or items to skip when executing query. List starts at zero. If omitted will default to zero. Use this conjuction with `limit` to…","schema":{"type":"integer","description":"Number or items to skip when executing query. List starts at zero. If omitted will default to zero. Use this conjuction with `limit` to…"}},{"name":"limit","in":"query","required":false,"description":"Number or items to return when executing query. Defaults to 10. Use this conjuction with `offset` to paginate across the results.","schema":{"type":"integer","description":"Number or items to return when executing query. Defaults to 10. Use this conjuction with `offset` to paginate across the results."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/ecommerce:brandlovers/post-orders-shipments-delivered":{"post":{"operationId":"ecommerce_brandlovers_post_orders_shipments_delivered","summary":"Bulk update of order shipments","description":"POST /orders/shipments/delivered","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:brandlovers/get-orders-shipments-shipped":{"get":{"operationId":"ecommerce_brandlovers_get_orders_shipments_shipped","summary":"Returns a list of shipments shipped","description":"GET /orders/shipments/shipped","tags":["ecommerce"],"parameters":[{"name":"status","in":"query","required":false,"description":"Product status.","schema":{"type":"string","enum":["NEW","APPROVED","DECLINED","PENDING"],"description":"Product status."}},{"name":"offset","in":"query","required":false,"description":"Number or items to skip when executing query. List starts at zero. If omitted will default to zero. Use this conjuction with `limit` to…","schema":{"type":"integer","description":"Number or items to skip when executing query. List starts at zero. If omitted will default to zero. Use this conjuction with `limit` to…"}},{"name":"limit","in":"query","required":false,"description":"Number or items to return when executing query. Defaults to 10. Use this conjuction with `offset` to paginate across the results.","schema":{"type":"integer","description":"Number or items to return when executing query. Defaults to 10. Use this conjuction with `offset` to paginate across the results."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/ecommerce:brandlovers/post-orders-shipments-shipped":{"post":{"operationId":"ecommerce_brandlovers_post_orders_shipments_shipped","summary":"Bulk update of order shipments","description":"POST /orders/shipments/shipped","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:brandlovers/get-orders-status-approved":{"get":{"operationId":"ecommerce_brandlovers_get_orders_status_approved","summary":"Return list of approved orders","description":"GET /orders/status/approved","tags":["ecommerce"],"parameters":[{"name":"offset","in":"query","required":false,"description":"Number or items to skip when executing query. List starts at zero. If omitted will default to zero. Use this conjuction with `limit` to…","schema":{"type":"integer","description":"Number or items to skip when executing query. List starts at zero. If omitted will default to zero. Use this conjuction with `limit` to…"}},{"name":"limit","in":"query","required":false,"description":"Number or items to return when executing query. Defaults to 100, max 200. Use this in conjuction with `offset` to paginate across the…","schema":{"type":"integer","description":"Number or items to return when executing query. Defaults to 100, max 200. Use this in conjuction with `offset` to paginate across the…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/ecommerce:brandlovers/get-orders-status-canceled":{"get":{"operationId":"ecommerce_brandlovers_get_orders_status_canceled","summary":"Returns lists of canceled orders","description":"GET /orders/status/canceled","tags":["ecommerce"],"parameters":[{"name":"offset","in":"query","required":false,"description":"Number or items to skip when executing query. List starts at zero. If omitted will default to zero. Use this conjuction with `limit` to…","schema":{"type":"integer","description":"Number or items to skip when executing query. List starts at zero. If omitted will default to zero. Use this conjuction with `limit` to…"}},{"name":"limit","in":"query","required":false,"description":"Number or items to return when executing query. Default 100, max 250. Use this conjuction with `offset` to paginate across the results.","schema":{"type":"integer","default":100,"description":"Number or items to return when executing query. Default 100, max 250. Use this conjuction with `offset` to paginate across the results."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/ecommerce:brandlovers/get-orders-status-delivered":{"get":{"operationId":"ecommerce_brandlovers_get_orders_status_delivered","summary":"Returns a list of orders successfully delivered associated with this seller.","description":"GET /orders/status/delivered","tags":["ecommerce"],"parameters":[{"name":"offset","in":"query","required":false,"description":"Number or items to skip when executing query. List starts at zero. If omitted will default to zero. Use this conjuction with `limit` to…","schema":{"type":"integer","description":"Number or items to skip when executing query. List starts at zero. If omitted will default to zero. Use this conjuction with `limit` to…"}},{"name":"limit","in":"query","required":false,"description":"Number or items to return when executing query. Defaults to 10. Use this conjuction with `offset` to paginate across the results.","schema":{"type":"integer","description":"Number or items to return when executing query. Defaults to 10. Use this conjuction with `offset` to paginate across the results."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/ecommerce:brandlovers/get-orders-status-new":{"get":{"operationId":"ecommerce_brandlovers_get_orders_status_new","summary":"Returns a list of orders flagged as new.","description":"GET /orders/status/new","tags":["ecommerce"],"parameters":[{"name":"offset","in":"query","required":false,"description":"Number or items to skip when executing query. List starts at zero. If omitted will default to zero. Use this conjuction with `limit` to…","schema":{"type":"integer","description":"Number or items to skip when executing query. List starts at zero. If omitted will default to zero. Use this conjuction with `limit` to…"}},{"name":"limit","in":"query","required":false,"description":"Number or items to return when executing query. Defaults to 100. Max 250. Use this conjuction with `offset` to paginate across the results.","schema":{"type":"integer","default":100,"description":"Number or items to return when executing query. Defaults to 100. Max 250. Use this conjuction with `offset` to paginate across the results."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/ecommerce:brandlovers/get-orders-status-partially-delivered":{"get":{"operationId":"ecommerce_brandlovers_get_orders_status_partially_delivered","summary":"Returns a list of partially deliverd orders","description":"GET /orders/status/partiallyDelivered","tags":["ecommerce"],"parameters":[{"name":"offset","in":"query","required":false,"description":"Number or items to skip when executing query. List starts at zero. If omitted will default to zero. Use this conjuction with `limit` to…","schema":{"type":"integer","description":"Number or items to skip when executing query. List starts at zero. If omitted will default to zero. Use this conjuction with `limit` to…"}},{"name":"limit","in":"query","required":false,"description":"Number or items to return when executing query. Defaults to 100. Max 250. Use this conjuction with `offset` to paginate across the results.","schema":{"type":"integer","default":100,"description":"Number or items to return when executing query. Defaults to 100. Max 250. Use this conjuction with `offset` to paginate across the results."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/ecommerce:brandlovers/get-orders-status-partially-sent":{"get":{"operationId":"ecommerce_brandlovers_get_orders_status_partially_sent","summary":"Returns a list of orders partially fullfiled","description":"GET /orders/status/partiallySent","tags":["ecommerce"],"parameters":[{"name":"offset","in":"query","required":false,"description":"Number or items to skip when executing query. List starts at zero. If omitted will default to zero. Use this conjuction with `limit` to…","schema":{"type":"integer","description":"Number or items to skip when executing query. List starts at zero. If omitted will default to zero. Use this conjuction with `limit` to…"}},{"name":"limit","in":"query","required":false,"description":"Number or items to return when executing query. Defaults to 100. Use this conjuction with `offset` to paginate across the results.","schema":{"type":"integer","description":"Number or items to return when executing query. Defaults to 100. Use this conjuction with `offset` to paginate across the results."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/ecommerce:brandlovers/get-orders-status-sent":{"get":{"operationId":"ecommerce_brandlovers_get_orders_status_sent","summary":"Returns a list with orders fully sent","description":"GET /orders/status/sent","tags":["ecommerce"],"parameters":[{"name":"offset","in":"query","required":false,"description":"Number or items to skip when executing query. List starts at zero. If omitted will default to zero. Use this conjuction with `limit` to…","schema":{"type":"integer","description":"Number or items to skip when executing query. List starts at zero. If omitted will default to zero. Use this conjuction with `limit` to…"}},{"name":"limit","in":"query","required":false,"description":"Number or items to return when executing query. Defaults to 10. Use this conjuction with `offset` to paginate across the results.","schema":{"type":"integer","description":"Number or items to return when executing query. Defaults to 10. Use this conjuction with `offset` to paginate across the results."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/ecommerce:brandlovers/post-product":{"post":{"operationId":"ecommerce_brandlovers_post_product","summary":"Create a new product to the marketplace","description":"POST /product","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:brandlovers/get-product-sku-seller-id":{"get":{"operationId":"ecommerce_brandlovers_get_product_sku_seller_id","summary":"Returns details of a single product using the seller `skuSellerId`","description":"GET /product/{skuSellerId}","tags":["ecommerce"],"parameters":[{"name":"skuSellerId","in":"query","required":true,"description":"SKU ID do Lojista.","schema":{"type":"string","description":"SKU ID do Lojista."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/ecommerce:brandlovers/put-product-sku-seller-id":{"post":{"operationId":"ecommerce_brandlovers_put_product_sku_seller_id","summary":"Update product details","description":"PUT /product/{skuSellerId}","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["skuSellerId","body"],"properties":{"skuSellerId":{"type":"string","description":"Unique Product Id (SKU) in the seller system that will be updated."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:brandlovers/put-product-sku-seller-id-prices":{"post":{"operationId":"ecommerce_brandlovers_put_product_sku_seller_id_prices","summary":"Allows seller to update prices of a single SKU","description":"PUT /product/{skuSellerId}/prices","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["skuSellerId","body"],"properties":{"skuSellerId":{"type":"string","description":"Product SKU"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:brandlovers/put-product-sku-seller-id-status":{"post":{"operationId":"ecommerce_brandlovers_put_product_sku_seller_id_status","summary":"Enable/disable a single product in the Marketplace","description":"PUT /product/{skuSellerId}/status","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["skuSellerId","body"],"properties":{"skuSellerId":{"type":"string","description":"Unique Product Id (SKU) in the seller system"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:brandlovers/put-product-sku-seller-id-stock":{"post":{"operationId":"ecommerce_brandlovers_put_product_sku_seller_id_stock","summary":"Update a single product stock","description":"PUT /product/{skuSellerId}/stock","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["skuSellerId","body"],"properties":{"skuSellerId":{"type":"string","description":"Unique Product Id (SKU) in the seller system that will be updated"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:brandlovers/get-products":{"get":{"operationId":"ecommerce_brandlovers_get_products","summary":"Returns a list of products loaded into BrandLovers Marketplace","description":"GET /products","tags":["ecommerce"],"parameters":[{"name":"offset","in":"query","required":false,"description":"Number or items to skip when executing query. List starts at zero. If omitted will default to zero. Use this conjuction with `limit` to…","schema":{"type":"integer","description":"Number or items to skip when executing query. List starts at zero. If omitted will default to zero. Use this conjuction with `limit` to…"}},{"name":"limit","in":"query","required":false,"description":"Number of items to retun. Defaults to 100. Max alowed is 200. Use this conjuction with `offset` to paginate across the results.","schema":{"type":"integer","description":"Number of items to retun. Defaults to 100. Max alowed is 200. Use this conjuction with `offset` to paginate across the results."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/ecommerce:brandlovers/post-products":{"post":{"operationId":"ecommerce_brandlovers_post_products","summary":"Allows new products from the seller to be loaded into the marketplace","description":"POST /products","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:brandlovers/put-products-prices":{"post":{"operationId":"ecommerce_brandlovers_put_products_prices","summary":"Allows bulk update of product prices.","description":"PUT /products/prices","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:brandlovers/get-products-status":{"get":{"operationId":"ecommerce_brandlovers_get_products_status","summary":"Returns seller products status in the marketplace","description":"GET /products/status","tags":["ecommerce"],"parameters":[{"name":"offset","in":"query","required":false,"description":"Number or items to skip when executing query. List starts at zero. If omitted will default to zero. Use this conjuction with `limit` to…","schema":{"type":"integer","description":"Number or items to skip when executing query. List starts at zero. If omitted will default to zero. Use this conjuction with `limit` to…"}},{"name":"limit","in":"query","required":false,"description":"Number of items to return in this query. Defaults to 250. Maximum 1000. Use this conjuction with `offset` to paginate across the results.","schema":{"type":"integer","description":"Number of items to return in this query. Defaults to 250. Maximum 1000. Use this conjuction with `offset` to paginate across the results."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/ecommerce:brandlovers/put-products-status":{"post":{"operationId":"ecommerce_brandlovers_put_products_status","summary":"Bulk enable/disable products in the marketplace","description":"PUT /products/status","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:brandlovers/get-products-status-selling":{"get":{"operationId":"ecommerce_brandlovers_get_products_status_selling","summary":"Returns products that are successfully listed for sale.","description":"GET /products/status/selling","tags":["ecommerce"],"parameters":[{"name":"offset","in":"query","required":false,"description":"Number or items to skip when executing query. List starts at zero. If omitted will default to zero. Use this conjuction with `limit` to…","schema":{"type":"integer","description":"Number or items to skip when executing query. List starts at zero. If omitted will default to zero. Use this conjuction with `limit` to…"}},{"name":"limit","in":"query","required":false,"description":"Number or items to return when executing query. Defaults to 10. Use this conjuction with `offset` to paginate across the results.","schema":{"type":"integer","description":"Number or items to return when executing query. Defaults to 10. Use this conjuction with `offset` to paginate across the results."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/ecommerce:brandlovers/put-products-stocks":{"post":{"operationId":"ecommerce_brandlovers_put_products_stocks","summary":"Bulk product stock update","description":"PUT /products/stocks","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:brandlovers/post-ticket":{"post":{"operationId":"ecommerce_brandlovers_post_ticket","summary":"Creates a new trouble ticket","description":"POST /ticket","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:brandlovers/post-ticket-ticket-id-message":{"post":{"operationId":"ecommerce_brandlovers_post_ticket_ticket_id_message","summary":"Add new message to trouble ticket","description":"POST /ticket/{ticketId}/message","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["ticketId","body"],"properties":{"ticketId":{"type":"string","description":"Trouble ticket ID."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:brandlovers/get-ticket-ticket-id-messages":{"get":{"operationId":"ecommerce_brandlovers_get_ticket_ticket_id_messages","summary":"Get trouble ticket messages","description":"GET /ticket/{ticketId}/messages","tags":["ecommerce"],"parameters":[{"name":"ticketId","in":"query","required":true,"description":"Trouble ticket ID.","schema":{"type":"string","description":"Trouble ticket ID."}},{"name":"offset","in":"query","required":false,"description":"Number or items to skip when executing query. List starts at zero. If omitted will default to zero. Use this conjuction with `limit` to…","schema":{"type":"integer","description":"Number or items to skip when executing query. List starts at zero. If omitted will default to zero. Use this conjuction with `limit` to…"}},{"name":"limit","in":"query","required":false,"description":"Number or items to return when executing query. Defaults to 10. Use this conjuction with `offset` to paginate across the results.","schema":{"type":"integer","description":"Number or items to return when executing query. Defaults to 10. Use this conjuction with `offset` to paginate across the results."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/ecommerce:brandlovers/put-ticket-ticket-id-status":{"post":{"operationId":"ecommerce_brandlovers_put_ticket_ticket_id_status","summary":"Update trouble ticket status","description":"PUT /ticket/{ticketId}/status","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["ticketId","body"],"properties":{"ticketId":{"type":"string","description":"Trouble ticket unique identification"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:brandlovers/get-tickets":{"get":{"operationId":"ecommerce_brandlovers_get_tickets","summary":"Get customers trouble tickets","description":"GET /tickets","tags":["ecommerce"],"parameters":[{"name":"status","in":"query","required":false,"description":"Query by trouble ticket status","schema":{"type":"string","enum":["OPEN","REOPENED","CLOSED"],"description":"Query by trouble ticket status"}},{"name":"offset","in":"query","required":false,"description":"Number or items to skip when executing query. List starts at zero. If omitted will default to zero. Use this conjuction with `limit` to…","schema":{"type":"integer","description":"Number or items to skip when executing query. List starts at zero. If omitted will default to zero. Use this conjuction with `limit` to…"}},{"name":"limit","in":"query","required":false,"description":"Number or items to return when executing query. Defaults to 10. Use this conjuction with `offset` to paginate across the results.","schema":{"type":"integer","description":"Number or items to return when executing query. Defaults to 10. Use this conjuction with `offset` to paginate across the results."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}