---
title: "Update shipping profile"
method: PUT
path: "/v1/shipping-profiles/{shippingProfileId}"
tags: ["ShippingProfiles V1"]
---

# Update shipping profile

`PUT /v1/shipping-profiles/{shippingProfileId}`

## Request

- Base URL: `https://api.otto.market`
- URL: `https://api.otto.market/v1/shipping-profiles/{shippingProfileId}`
- Auth: HTTP bearer

This PUT API endpoint is to update a shipping profile
PUT will always take an shipping profile and update it. 
deliveryType field cannot be updated

## Path parameters

- `shippingProfileId` string, required

## Headers

- `Authorization` string, required

## Request body

- CreateShippingProfileRequestShippingProfilesV1
  - `shippingProfileName` string, required: ShippingProfileName allows the partner to assign a descriptive and unique name for a shipping profile
  - `workingDays` string[], required: WorkingDays describe the specific days of the week on which the partner is available to process orders
  - `orderCutoff` string, HH:MM, required: OrderCutoff specifies the time for orders to be placed, so the ProcessingTime starts within the same day. <br> This must be in half hour duration in (HH:MM) 24 hours format. The cut-off time must be specified in CET time.
  - `deliveryType` 'PARCEL' | 'FORWARDER_PREFERREDLOCATION' | 'FORWARDER_CURBSIDE' | 'FORWARDER_HEAVYDUTY', required: DeliveryType describes how the product is being shipped. At the moment we support the enums shown above
  - `defaultProcessingTime` integer, required: DefaultProcessingTime describes the time the partner needs to prepare the order for a shipment. Must be between 1 to 99. <br> If more than 72 days are transmitted in the DefaultProcessingTime, the product is marked as sold out on otto.de and cannot be ordered. <br> This is also the case if the DefaultProcessingTime and TransportTime add up to a value greater than 72. "1" day is considered as same-day shipping (0 days) until the cut-off time is reached.
  - `transportTime` integer, required: TransportTime describes the time the carrier needs from collecting the order from partners warehouse until the first delivery attempt. Must be between 1 to 99. <br> If more than 72 days are transmitted in the TransportTime, the product is marked as sold out on otto.de and cannot be ordered. <br> This is also the case if the DefaultProcessingTime and TransportTime add up to a value greater than 72.

## Response `204`

No Content

## Other responses

- `400`: Bad Request </br>1. If any of the mandatory attribute missing in request body </br>2. If request body attributes type/format is wrong </br>3. Shipping Profile name is already existing </br>4. Trying to update deliveryType
- `401`: Unauthorized
- `403`: Forbidden (Invalid token)
- `404`: Not found. </br>1. If request path is not /v1/shipping-profiles </br>2. If shipping profile ID is not found
- `500`: Internal server error

---

[API](https://skmtc.dev/otto/apis/otto-market-api.md) - [All operations](https://skmtc.dev/otto/apis/otto-market-api/llms.txt) - [OpenAPI document](https://skmtc.dev/otto/apis/otto-market-api/revisions/cc8a74b62e87?raw)
