Skip to main content

/mhl_record/{id}

Retrieve detailed MHL record information by ID, or updates the fields in the MHL record (specified or all). Also allows you to delete the MHL record via DELETE method.

Adress: https://instance_name/api/v1.5/mhl_record/{id}

Methods:

  • GET — retrieve detailed MHL record information by ID;
  • PUT — update all MHL record fields;
  • PATCH — update some MHL record fields.
  • DELETE — delete MHL record.

Content-type: application/json

Path parameters​


id string

Required. MHL record ID.

Request example

curl –i –X GET
https://test.inspector-cloud.com/api/v1.5/mhl_record/9378/
-H ‘Authorization: Token <<your_token>>

Response example

Response code: 200


{
"id": 9378,
"name": "Сметана-Домик в деревне-300-10.00-Стакан/Ванночка",
"musthavelist": 56,
"sku": 32562,
"sku1": null,
"sku2": null,
"sku3": null,
"sku4": null,
"sku5": null,
"sku6": null
}

Response definitions


id string

Unique ID.


name string

Human-readable name. Optional.


musthavelist string

Must have list ID.


sku string

SKU ID.


sku1 string

SKU ID.


sku2 string

SKU ID.


sku3 string

SKU ID.


sku4 string

SKU ID.


sku5 string

SKU ID.


sku6 string

SKU ID.


Six optional sku1-sku6 fields are combined with logical OR when checking the MHL compliance:

Compliant = (sku is present) OR (sku1 is present) OR (sku2 is present) ... OR (sku6 is present)