Skip to main content

Update Delivery Type Mappings

PUT 

/api/pinnacle/instances/:instance/delivery-types

Creates, changes or removes shipping method → Pinnacle delivery type mappings. Methods not listed are left untouched. Any number of shipping methods can map to the same delivery type. Returns the full mapping list.

Not yet available to API tokens

This endpoint currently requires session authentication; Personal Access Token scope support is in progress.

Body fields:

  • mappings (array, required, at least 1).
  • mappings.*.shipping_method_id (integer, required, distinct): an existing shipping method id.
  • mappings.*.delivery_type (string|null, required key): a forward delivery type (PWG-OFFICE, PWG-RESI, PWG-SHOWROOM, WG-OFFICE, WG-RESI, WG-SHOWROOM, WGN, ROC, TRHD, DS, B2B, WHSE, WC, CS), or null to remove the mapping.

Authentication: requires a Bearer token (Personal Access Token).

Requires the integrations.update permission; without it the request is refused with 403.

Request​

Responses​

OK

Response Headers
    Content-Type