POST
/
{storeId}
/
product-ordering
curl --request POST \
  --url https://partner-api.aasaan.shop/api/v1/partner-integrations/stores/{storeId}/product-ordering \
  --header 'Content-Type: application/json' \
  --data '[
  {
    "id": "product-id-1",
    "name": "sample product name goes here"
  }
]'
[
  {
    "id": "product-id-1",
    "name": "sample product name goes here"
  }
]

Path Parameters

storeId
string
required

Store ID for this resource request

Body

application/json · object[]
an order list of products in a way it needs to be sorted/displayed
id
string

product id of the specified product

Example:

"product-id-1"

name
string

name of the product

Example:

"sample product name goes here"

Response

200
application/json
A list of all products.
id
string

product id of the specified product

Example:

"product-id-1"

name
string

name of the product

Example:

"sample product name goes here"