Actions220
- Additional Field (v2) Actions
- Address (v2) Actions
- Address Format (v2) Actions
- Attachment (v2) Actions
- Cache (v2) Actions
- Category (v2) Actions
- Category Icon (v2) Actions
- Category Image (v2) Actions
- Country (v2) Actions
- Cronjob (v2) Actions
- Currency (v3) Actions
- Customer (v3) Actions
- Customer Group (v2) Actions
- Customer (v2) Actions
- Email (v2) Actions
- Language (v2) Actions
- Manufacturer (v2) Actions
- Order (v2) Actions
- Order History (v2) Actions
- Order Item (v2) Actions
- Order Item Attribute (v2) Actions
- Order Status (v2) Actions
- Order Total (v2) Actions
- Order Tracking Code (v2) Actions
- Parcel Service (v2) Actions
- Payment Details (v2) Actions
- Product (v2) Actions
- Product Additional Field (v2) Actions
- Product Image (v2) Actions
- Product Link (v2) Actions
- Product Price (v2) Actions
- Quantity Unit (v2) Actions
- Review (v2) Actions
- Shop Information (v2) Actions
- Special Offer (v2) Actions
- Tax (v2) Actions
- Tracking Code (v2) Actions
- VPE (v2) Actions
- Withdrawal (v2) Actions
- Zone (v2) Actions
- Customer Addon Value (v3) Actions
- Customer Memo (v3) Actions
- Image List (v3) Actions
- Option (v3) Actions
- Parcel Service (v3) Actions
- Product Option (v3) Actions
- Product Variant (v3) Actions
- Tracking Code (v3) Actions
- Withdrawal (v3) Actions
Parcel Service (v2) → Update
AI-generatedSummary
Update an existing parcel service in the Gambio shop using the v2 API by specifying the parcel service ID and providing updated parcel service data in JSON format.
Inputs
- Authentication — Select the method to authenticate with the Gambio API: Basic Auth using admin email and password (works with v2 and v3 APIs) or Bearer Token (JWT) from Gambio Admin (works with v3 API only). Defaults to Basic Auth.
- Parcel Service ID (required) — The numeric ID of the parcel service to update.
- Parcel Service Data (JSON) (required) — A JSON object representing the parcel service's updated data, including fields such as name, isDefault, and multilingual descriptions. URLs can include {TRACKING_NUMBER} as a placeholder to be replaced in tracking links.
Output shape
a single updated parcel service record returned from the API.
Requires the parcelServiceIdV2 to identify the parcel service to update and the parcelServiceDataV2 JSON defining the updated fields. Uses a PUT request to the /api.php/v2/parcel_services/{parcelServiceId} endpoint. The response contains the updated parcel service data. Authentication can be done via Basic Auth or Bearer Token; however, Bearer Token is valid for v3 API only, so Basic Auth is recommended for this v2 resource.
Examples
Example 1: Update the name and default status of a parcel service
Provide the parcelServiceIdV2 as 5 and the parcelServiceDataV2 JSON with the new name 'FedEx' and isDefault as true. Authenticate using Basic Auth.