Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Current »

NameShipments Suggestion
DescriptionGet the suggested shipping method for a ticket group
TypePOST
URL/v9/shipments/suggestion

Long Description

Get the suggested shipping method for a ticket group based on the address provided. This endpoint takes into account the shipping methods established for the API credential used as well as the in_hand status of the ticket group, the in_hand_on date, the date and time of the event as well as the date and time the request is made.

You must provide either an address_id or the full address_attributes.

Parameters

Name
Description
Value Type
Required
ticket_group_idID of the ticket groupIntegerRequired
address_idID of an existing addressIntegerOne of these is required if the ticket_group.format is Physical.
address_attributesFull address attributes (street_address, extended_address, locality, region, postal_code, country_code)Object


Note – You must provide either an address_id or the address_attributes so that we can advise the shipping carrier where these will ship, in order to properly offer a suggestion.

Examples

RequestResponse
POST /v9/shipments/suggestion
{
  "ticket_group_id":123456789,
  "address_id":54321
}
{
  "price":15.0,
  "name":"Fedex 2 Day",
  "service_type":"FEDEX_2_DAY",
  "provider":"FedEx"
}
{
  "ticket_group_id":123456789,
  "address_attributes": {
    "street_address": "7721 East Gray Road",
    "extended_address": "Suite 102",
    "locality": "Scottsdale",
    "region": "AZ",
    "postal_code": "85260",
    "country_code": "US"
  }
}
{
  "price":15.0,
  "name":"Fedex 2 Day",
  "service_type":"FEDEX_2_DAY",
  "provider":"FedEx"
}
  • No labels