Get delivery label formats
get_delivery_label_formatsDetermine which label sizes each delivery service supports, so you can pass the correct label_format to order label requests.
Instructions
List the label sizes the given delivery services can print — the values accepted by get_order_delivery_labels' label_format. Per service, mode says how it treats sizes: EXPLICIT_FORMATS (pick one of formats), PROVIDER_DEFAULT (size ignored, the service prints its own) or NOT_SUPPORTED (no labels at all, formats empty). preselected is only the size preselected in the KIT UI — it does NOT apply when label_format is omitted. Services come back in the platform's own display order, so look one up by delivery_service, not by position.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| delivery_service | Yes | Delivery services to report sizes for; duplicates are ignored by the API. A chunk's service is in get_order under delivery_chunks[].delivery_info.delivery_service_type. |