POST /v4/products/create
(Last updated: 03/10/2023)
Access to this feature is restricted and depends on your subscription type.
This endpoint allows for creating new products.
Request
Method
POST
URL
https://api.medipim.fr/v4/products/create
Body
data
: All fields are optional. If you don't provide a key, it will not be changed; if you set it to null, it will be cleared.status
: Product status ("active"
,"replaced"
or"inactive"
)replacement
: Medipim ID of the replacing product (only in case product status is"replaced"
)name.{fr|en|...}
: Name (string, localized)seoName.{fr|en|...}
: Name (string, localized)shortDescription.{fr|en|...}
: Short description (plain text, localized). (⚠️ field is not used anymore)prescription
: Whether or not the product requires a prescription. (boolean)officialDeletionAt
: Official date on which the product became unavailable. (timestamp)ean[]
: EAN codes (⚠️ a product may have multiple EAN codes) (string[])ospId
: OSP codes (string)cipOrAcl7
: CIP7 or ACL7 code (string)cip13
: CIP13 codes (string)acl13
: ACL13 codes (string)gtin
: GTIN codes (string)atc
: ATC code (string) (⚠️ deprecated use atcCategory instead)atcCategory[]
: List of ATC category codes associated with this product (string[])hsCode
: Harmonised System (HS) code (integer)cisCode
: CIS code (string)supplierReference
: Supplier reference code (string)conservation
: Conservation for a given product. (string) Possible values:room
,refrigerator
,fresh
,frozen
publicPrice
: Public price (integer, in EUR cents)manufacturerPrice
: Manufacturer price (integer, in EUR cents)pharmacistPrice
: Pharmacist price (integer, in EUR cents)tfrPrice
: TFR price (integer, in EUR cents)ttcPrice
: TTC price (integer, in EUR cents) (⚠️value is including VAT)reimbursementRate
: Reimbursement value (integer, in EUR cents)tax
: rate of VAT (float)weight
: Weight (integer, in grams)width
: Width (integer, in millimeters)length
: Length (integer, in millimeters)depth
: Depth (integer, in millimeters)packageContent
: Number of packages (string)packageQuantity
: How many units are in the package (string)packagingUnit
: Packaging unit (string)publicCategories[]
: The full list of publicCategory IDs that should be associated with this product.ospCategory
: The full list of OSP category IDs that should be associated with this product.brands[]
: The full list of brand IDs that should be associated with this product.organizations[]
: The full list of organization IDs that should be associated with this product.attributes[]
: The full list of attributes IDs that should be associated with this product.activeIngredients[]
: The full list of active ingredient IDs that should be associated with this product.
Please check to see which fields you are allowed to update through the api.
Response
Body
product
:id
,name
, ...: product information (same format as product search results)