POST
/
vendor
/
fulfillment-sets
/
{id}
/
service-zones
/
{zone_id}
{
  "fulfillment_set": {
    "id": "<string>",
    "name": "<string>",
    "type": "<string>",
    "location": {
      "id": "<string>",
      "name": "<string>",
      "fulfillment_sets": [
        {}
      ]
    },
    "service_zones": [
      {
        "id": "<string>",
        "name": "<string>",
        "fulfillment_set_id": "<string>",
        "fulfillment_set": {},
        "geo_zones": [
          {
            "id": "<string>",
            "type": "country",
            "country_code": "<string>",
            "province_code": "<string>",
            "city": "<string>",
            "postal_expression": {},
            "created_at": "2023-11-07T05:31:56Z",
            "updated_at": "2023-11-07T05:31:56Z",
            "deleted_at": "2023-11-07T05:31:56Z"
          }
        ],
        "shipping_options": [
          {
            "id": "<string>",
            "name": "<string>",
            "price_type": "calculated",
            "service_zone_id": "<string>",
            "service_zone": {},
            "shipping_option_type_id": "<string>",
            "type": {
              "id": "<string>",
              "created_at": "2023-11-07T05:31:56Z",
              "updated_at": "2023-11-07T05:31:56Z",
              "deleted_at": "2023-11-07T05:31:56Z",
              "label": "<string>",
              "description": "<string>",
              "code": "<string>",
              "shipping_option_id": "<string>"
            },
            "prices": [
              {
                "id": "<string>",
                "title": "<string>",
                "currency_code": "usd",
                "amount": 123,
                "created_at": "2023-11-07T05:31:56Z",
                "updated_at": "2023-11-07T05:31:56Z",
                "deleted_at": "2023-11-07T05:31:56Z"
              }
            ],
            "data": {},
            "metadata": {},
            "created_at": "2023-11-07T05:31:56Z",
            "updated_at": "2023-11-07T05:31:56Z",
            "deleted_at": "2023-11-07T05:31:56Z"
          }
        ],
        "created_at": "2023-11-07T05:31:56Z",
        "updated_at": "2023-11-07T05:31:56Z",
        "deleted_at": "2023-11-07T05:31:56Z"
      }
    ],
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "deleted_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

The ID of the Fulfillment Set.

zone_id
string
required

The ID of the Service Zone.

Body

application/json

Response

200 - application/json

OK

The response is of type object.