Create prices for your SKUs.

👍

Endpoint

Params

  • Accept: application/json
  • Authorization: OAuth2 [Base64 encoded token]

Sample cURL Request

curl -X POST "https://api.jooraccess.com/v4/prices/bulk_create" -H  "accept: application/json" -H  "Content-Type: application/json" -d "[{\"sku_id\":\"string\",\"price_type_id\":\"string\",\"wholesale_value\":\"string\",\"retail_value\":\"string\"}]"

Workflow

  1. Use the CREATE /products endpoint to create your product
  2. Use the CREATE /skus endpoint to create skus for your product
  3. Insert the sku id into the sku_id parameter when creating your price. This is the SKU your price will be mapped to.
  4. You will need to reference the price id when using the following endpoints:
  • UPDATE /prices

Price Data

PARAMETERSREQUIREDTYPENOTES
sku_idYstring
price_type_idYstring
wholesale_valueYstring
retail_valueNstring

Request Example

[
  {
    "sku_id": "sku_id_111",
    "price_type_id": "pricetype_id_222",
    "wholesale_value": "100.00",
    "retail_value": "200.00"
  }
]

Response Example

{
  "data": [
    {
      "id": "price_id_333",
      "sku_id": "sku_id_111",
      "price_type": {
        "id": "pricetype_id_222",
        "name": "USD-1",
        "currency_code": "USD",
        "retail_currency_code": "USD"
      },
      "wholesale_value": "100.00",
      "retail_value": "200.00"
    }
  ],
  "errors": []
}