Delete one ship-to assignment
/fscmRestApi/resources/11.13.18.05/b2bAccountNumbers/{AccountNumberId}/child/shipToAssignments/{ShipToAssignmentId}
Request
-
AccountNumberId(required): integer(int64)
Unique identifier of the B2B account number. This value is derived.
-
ShipToAssignmentId(required): integer(int64)
Unique identifier for the Ship to Location Assignment. Its value is an application-generated unique ID.
-
Metadata-Context:
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version:
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
There's no request body for this operation.
Back to TopResponse
Default Response
Examples
This example describes how to delete ship-to assignments .
Example cURL Command
Use the following cURL command to submit a request on the REST resource:
curl -u username:password -X DELETE "https://servername/fscmRestApi/resources/version/b2bAccountNumbers/AccountNumberId/child/shipToAssignments/"
Example Request Body
The following example includes the contents of the request body in JSON format. You replace the request payload in the cURL command with the contents of the Example Request Body. The request payload specifies attribute values that the command will use in the record that it creates.
{ "parts": [ { "id": "part1", "path": "/b2bAccountNumbers/300100644904773/child/shipToAssignments/300100644903183", "operation": "delete" }, { "id": "part2", "path": "/b2bAccountNumbers/300100644904773/child/shipToAssignments/300100644903184", "operation": "delete" } ] }
Example Response Body
The following example includes the contents of the response body in JSON format:
{ "parts": [ { "id": "part1", "path": "https://servername/fscmRestApi/resources/version/b2bAccountNumbers/300100644904773/child/shipToAssignments/300100644903183", "operation": "delete", "payload": null }, { "id": "part2", "path": "https://servername/fscmRestApi/resources/version/b2bAccountNumbers/300100644904773/child/shipToAssignments/300100644903184", "operation": "delete", "payload": null } ] }