PUT /dropship-provider-shipping-fields/{id}.json

PUT /dropship-provider-shipping-fields/{id}.json

Path parameters

  • id integer(int64) Required

    Numeric ID of the instance

    Minimum value is 1.

application/json

Body Required

  • columnType string | null Required

    Column type

    Values are attribute or placeholder. Default value is attribute.

  • createdAt string(date-time)

    Created at

  • dropshipProviderId integer(int32) Required

    Dropship provider

  • enabled boolean | null Required

    Enabled

    Default value is true.

  • id integer(int32)

    Id

  • name string | null

    Name

  • purpose string | null

    Purpose

    Values are channelReference, internalReference, invoiceAmount, price, reference, serviceLevel, sku, quantity, trackingCompany, trackingNumber, or vendorExternalId.

  • updatedAt string(date-time)

    Updated at

PUT /dropship-provider-shipping-fields/{id}.json
curl \
 -X PUT http://api.example.com/v1/dropship-provider-shipping-fields/{id}.json \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"columnType":"attribute","createdAt":"2024-05-04T09:42:00+00:00","dropshipProviderId":42,"enabled":true,"id":42,"name":"string","purpose":"channelReference","updatedAt":"2024-05-04T09:42:00+00:00"}'
Request example
{
  "columnType": "attribute",
  "createdAt": "2024-05-04T09:42:00+00:00",
  "dropshipProviderId": 42,
  "enabled": true,
  "id": 42,
  "name": "string",
  "purpose": "channelReference",
  "updatedAt": "2024-05-04T09:42:00+00:00"
}