Skip to main content

Replicate a Price Book

POST 

https://euwest.api.elasticpath.com/pcm/pricebooks/:pricebookID/replicate

Using this endpoint, you can replicate an existing price book. This is useful because it enables you to quickly and easily create multiple price books with the same pricing structure. When you replicate an existing price book, you can specify a new name, description, and external reference for the replicated price book. Other attributes stay the same.

Request

Responses

A replicated price book with the following attributes.

Authorization: Authorization

name: Authorizationtype: httpin: headerscheme: bearer

Request Collapse all
Base URL
https://euwest.api.elasticpath.com
Auth
Parameters
— pathrequired
Body
{
  "data": {
    "type": "pricebook",
    "attributes": {
      "description": "This is a test price book",
      "name": "pricebook-store-abc",
      "external_ref": "external-ref"
    }
  }
}
ResponseClear

Click the Send API Request button above and see the response here!

We use cookies to enhance your experience. By continuing to visit this site you agree to our use of cookies.