logo

Repco Items

Add and manage Repco products in a collection by product code. Repco is postcode-driven — there is no store_id parameter anywhere; the customer postcode alone resolves the nearest store, freight, and availability.

Create Part

POST
https://multicartapi.com/api/v1/schedules/repco/sku/create/
API Key or Session Token

Add a single Repco product code to a collection.

curl "https://multicartapi.com/api/v1/schedules/repco/sku/create/" \
  -X POST \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"collection": 100, "sku": "A5685428", "customer_postcode": 4500}'

Parameters

ParameterTypeRequiredDescription
collectionintegerRequiredCollection ID to add the code to. The collection must have request_type repco.
skustringRequiredRepco product code, e.g. A5685428.
customer_postcodestring or integerRequired4-digit postcode (e.g. 4500) or a Zipcode row ID. Resolved against your registered repco.com.au postcodes. There is no store_id.
Request body
{"collection": 100, "sku": "A5685428", "customer_postcode": 4500}
Response
{"code": 200, "data": {"id": 77, "sku": "A5685428", "customer_postcode": "4500", "collection": 100, "created_at": "2026-07-10 10:00:00"}, "status": 1}

Notes

Adding the first code promotes a draft collection to enabled. A duplicate (same code + postcode already in the collection) is rejected with code 409. A collection is capped at 5000 items.

Create Multiple Parts

POST
https://multicartapi.com/api/v1/schedules/repco/sku/create/multiple/
API Key or Session Token

Add a comma-separated batch of Repco product codes in one call. All codes share the same postcode.

curl "https://multicartapi.com/api/v1/schedules/repco/sku/create/multiple/" \
  -X POST \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"collection": 100, "skus": "A5685428,A8334587,R1234", "customer_postcode": "4500"}'

Parameters

ParameterTypeRequiredDescription
collectionintegerRequiredCollection ID.
skusstringRequiredComma-separated product codes, e.g. A5685428,A8334587,R1234.
customer_postcodestringRequiredPostcode number or Zipcode row ID applied to all codes.
Request body
{"collection": 100, "skus": "A5685428,A8334587,R1234", "customer_postcode": "4500"}
Response
{"code": 200, "data": {"success_count": 2, "error_rows": [{"sku": "R1234", "error": "SKU already exists in this collection."}]}, "status": 1}

Notes

Per-code failures (duplicate, over-limit, invalid) are reported in error_rows rather than failing the batch.

Bulk Create Parts (CSV)

POST
https://multicartapi.com/api/v1/schedules/repco/sku/create/bulk/
API Key or Session Token

Upload a CSV of Repco product codes, each with its own postcode.

curl "https://multicartapi.com/api/v1/schedules/repco/sku/create/bulk/" \
  -X POST \
  -H "x-api-key: YOUR_API_KEY" \
  -F "collection_id=101" \
  -F "[email protected]"

Parameters

ParameterTypeRequiredDescription
collection_idintegerRequiredCollection ID to add parts to.
csvfileRequiredCSV file with header columns: sku, customer_postcode. There is no store_id column.
Request (multipart/form-data)
multipart/form-data with collection_id and a csv file (columns: sku, customer_postcode)
Response
{"code": 200, "data": {"success_count": 48, "error_rows": [{"row": 12, "sku": "BADCODE", "error": "postcode 9999 is not associated with domain repco.com.au"}]}, "status": 1}

Notes

Each customer_postcode must be a valid 4-digit postcode already registered for repco.com.au. Unresolvable rows are skipped and reported in error_rows.

List Parts

POST
https://multicartapi.com/api/v1/schedules/repco/sku/list/
API Key or Session Token

List the Repco product codes in a collection, most recent first.

curl "https://multicartapi.com/api/v1/schedules/repco/sku/list/" \
  -X POST \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"collection_id": 100, "skip": 0, "limit": 20}'

Parameters

ParameterTypeRequiredDescription
collection_idintegerOptionalFilter to one collection.
skipintegerOptionalOffset.
limitintegerOptionalPage size.
Request body
{"collection_id": 100, "skip": 0, "limit": 20}
Response
{"code": 200, "data": {"total": 3, "skip": 0, "limit": 20, "items": [{"id": 77, "sku": "A5685428", "customer_postcode": "4500", "collection": 100, "created_at": "2026-07-10 10:00:00"}]}, "status": 1}

Notes

Ordered by created_at descending.

Get Part

POST
https://multicartapi.com/api/v1/schedules/repco/sku/get/
API Key or Session Token

Fetch a single part record by its internal ID.

curl "https://multicartapi.com/api/v1/schedules/repco/sku/get/" \
  -X POST \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"sku_id": 77}'

Parameters

ParameterTypeRequiredDescription
sku_idintegerRequiredInternal part record ID (not the product code).
Request body
{"sku_id": 77}
Response
{"code": 200, "data": {"id": 77, "sku": "A5685428", "customer_postcode": "4500", "collection": 100, "created_at": "2026-07-10 10:00:00"}, "status": 1}

Notes

Not found returns code 404.

Update Part

POST
https://multicartapi.com/api/v1/schedules/repco/sku/update/
API Key or Session Token

Update the product code or postcode of a part record. There is no store_id.

curl "https://multicartapi.com/api/v1/schedules/repco/sku/update/" \
  -X POST \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"sku_id": 77, "customer_postcode": "3000"}'

Parameters

ParameterTypeRequiredDescription
sku_idintegerRequiredInternal part record ID.
skustringOptionalNew product code.
customer_postcodestringOptionalNew postcode (value or Zipcode row ID).
Request body
{"sku_id": 77, "customer_postcode": "3000"}
Response
{"code": 200, "data": {"id": 77, "sku": "A5685428", "customer_postcode": "3000", "collection": 100, "created_at": "2026-07-10 10:00:00"}, "status": 1}

Notes

Send only the fields you want to change. A bad postcode returns code 400.

Delete Part

POST
https://multicartapi.com/api/v1/schedules/repco/sku/delete/
API Key or Session Token

Delete a part record by its internal ID.

curl "https://multicartapi.com/api/v1/schedules/repco/sku/delete/" \
  -X POST \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"sku_id": 77}'

Parameters

ParameterTypeRequiredDescription
sku_idintegerRequiredInternal part record ID.
Request body
{"sku_id": 77}
Response
{"code": 200, "data": "SKU deleted successfully.", "status": 1}

Notes

Not found returns code 404.